<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" href="/css/font.css">
		<link rel="stylesheet" href="/css/xadmin.css">
		<script type="text/javascript" src="/js/jquery.min.js"></script>
        <script type="text/javascript" src="/js/xadmin.js"></script>
        <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
		<style>
			form {
				margin-top: 10px;
			}
			
		</style>
	</head>
	<body>
		<form class="layui-form" id="editTeacherForm">
			<div class="layui-form-item">
				<label class="layui-form-label"><font color="red" size="3">*</font>学号</label>
				<div class="layui-input-block">
					<input type="number" th:attr="value=${student.stuNo}" disabled class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
                <label class="layui-form-label"><font color="red" size="3">*</font>姓名</label>
                <div class="layui-input-block">
                    <input type="text" th:attr="value=${student.stuName}" disabled class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red" size="3">*</font>身份证号</label>
                <div class="layui-input-block">
                    <input type="text" th:attr="value=${student.idNumber}" disabled class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
			    <label class="layui-form-label"><font color="red" size="3">*</font>性别</label>
			    <div class="layui-input-block">
				  <input type="radio" value="2" title="男" th:if="${ student.stuSex == 2 }" checked>
                  <input type="radio" value="1" title="女" th:if="${ student.stuSex == 1 }" checked>
				</div>
			  </div>
	        <div class="layui-form-item">
               <label class="layui-form-label"><font color="red" size="3">*</font>出生日期</label>
               <div class="layui-input-block">
                   <input type="text" th:attr="value=${#dates.format( student.stuBirth, 'yyyy-MM-dd')}" disabled class="layui-input">
               </div>
            </div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>政治面貌</label>
			   <div class="layui-input-block">
			       <select name="politics" lay-verify="required">
					<option value="中共党员" th:if="${ student.politics == '中共党员'}" selected>中共党员</option>
                    <option value="共青团员" th:if="${ student.politics == '共青团员'}" selected>共青团员</option>
                    <option value="群众" th:if="${ student.politics == '群众'}" selected>群众</option>
				  </select>
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>民族</label>
			   <div class="layui-input-block">
			       <input type="text" th:attr="value=${student.nation}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>籍贯</label>
			   <div class="layui-input-block">
			       <input type="text" th:attr="value=${student.homeplace}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label">毕业学校</label>
			   <div class="layui-input-block">
			       <input type="text" th:attr="value=${student.graduateSchool}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>入校日期</label>
			   <div class="layui-input-block">
			       <input type="text"  th:attr="value=${#dates.format( student.startTime, 'yyyy-MM-dd')}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>学制</label>
			   <div class="layui-input-block">
			       <input type="text" th:attr="value=${student.gradeLength}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
               <label class="layui-form-label"><font color="red" size="3">*</font>专业</label>
               <div class="layui-input-block">
                   <input type="text" th:attr="value=${student.majorNo}" disabled class="layui-input">
               </div>
            </div>
            <div class="layui-form-item">
               <label class="layui-form-label"><font color="red" size="3">*</font>班级</label>
               <div class="layui-input-block">
                   <input type="text" th:attr="value=${student.remark2}" disabled class="layui-input">
               </div>
            </div>
			<div class="layui-form-item">
			   <label class="layui-form-label">通讯地址</label>
			   <div class="layui-input-block">
			       <input type="text" th:attr="value=${student.address}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
               <label class="layui-form-label">手机号码</label>
               <div class="layui-input-block">
                   <input type="text" th:attr="value=${student.number}" disabled class="layui-input">
               </div>
            </div>
            <div class="layui-form-item">
               <label class="layui-form-label">寝室地址</label>
               <div class="layui-input-block">
                   <input type="text" th:attr="value=${student.bedroomId}" disabled class="layui-input">
               </div>
            </div>
			<div class="layui-form-item">
			   <label class="layui-form-label">备注</label>
			   <div class="layui-input-block">
			       <textarea name="remark1" th:text="${student.remark1}" disabled class="layui-textarea"></textarea>
			   </div>
			</div>
		</form>
	</body>
</html>
